/*
 * @Author: 肖芬芳 1911683843@qq.com
 * @Date: 2022-12-09 17:07:13
 * @LastEditors: 肖芬芳 1911683843@qq.com
 * @LastEditTime: 2022-12-12 15:25:08
 * @FilePath: \blog\src\views\admin\goods\add\option.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default {
    steps: [{
        title: "基本信息",
        formItem: [
            [{
                label: "商品名：",
                value: 'goodName',
                width: 12,
                type: 'text',
                maxlength: 20,
                rule: [
                    { required: true, message: '请输入商品名！', trigger: 'blur' },
                    { min: 3, max: 20, message: '商品名在3-20字符之间', trigger: 'blur' },
                ]

            }], [{
                label: "商品价格：",
                value: 'price',
                width: 12,
                type: 'text',
                maxlength: 10,
                rule: [
                    { required: true, message: '请输入商品价格！', trigger: 'blur' },
                ]
            }],[{
                label: "商品数量：",
                value: 'goodNum',
                width: 12,
                type: 'text',
                maxlength: 10,
                rule: [
                    { required: true, message: '请输入商品数量！', trigger: 'blur' },
                ]
            }],[{
                label: "商品重量：",
                value: 'goodWeight',
                width: 12,
                type: 'text',
                maxlength: 10,
                rule: [
                    { required: true, message: '请输入商品重量！', trigger: 'blur' },
                ]
            }],[{
                label: "商品分类：",
                value: 'goodClass',
                width: 12,
                type: 'select',
                rule: [
                    { required: true, message: '请输入商品分类！', trigger: 'blur' },
                ]
            }]
        ],
    }, {
        title: "商品参数",
        formItem:[[]]
    }, {
        title: "商品属性",
        formItem:[[]]
    }, {
        title: "商品图片",
        formItem:[[]]
    }, {
        title: "商品内容",
        formItem:[[]]
    },
    ]
}